#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int bag = 0;
  for (int i = 1; i <= n; i++) {
    int a;
    cin >> a;
    bag += a;
  }
  if (bag > m) {
    cout << "No";
  } else {
    cout << "Yes";
  }
  return 0;
}